package com.kfm.jdbc.day0328;


import com.kfm.jdbc.day0328.entity.Account;

import java.sql.Connection;
import java.sql.SQLException;

public class Test04 {

    public static void main(String[] args) {
        DBUtils<Account> dbUtils = new DBUtils<>(1);

        Connection connection = dbUtils.getConnection();
//        System.out.println("proxy: " + connection);

        try {
            connection.close();
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
}
